
/**
 * created on 2012-05-06
 * @author  qiujz
 * @version 1.0
 *
 * Copyright (c)  Founder Software (Suzhou) Co., Ltd.  2012
 *  All rights reserved.
 *
 * 
 * ================================================================
 * Change Revision
 * ---------------------------------------------------------------
 *    DATE                BY                   COMMENT
 * ---------------------------------------------------------------
 * 2012-05-06         qiujz                Create class
 * 
 *
 * ================================================================
 */
package com.qjz.model
{
	import com.founder.framework.base.BaseModel;
	import com.founder.framework.base.BaseQueryParameter;
	import com.founder.framework.base.BaseVo;
	import com.founder.framework.interfaces.IModelable;
	import com.qjz.entity.HigherGradeQueryParameter;
	import com.qjz.entity.HigherGradeVo;
	import flash.events.IEventDispatcher;
	import mx.collections.ArrayCollection;
	
	/**
	 * 页面数据模型对象
	 * @author qiujz
	 */
	[Bindable]
	public class HigherGradeModel extends BaseModel implements IModelable
	{
		
		/**
		 * 构造函数
		 */
		public function HigherGradeModel(target:IEventDispatcher=null)
		{
			super(target);
			higherGradeQueryParameter = new HigherGradeQueryParameter();
		}

		public var higherGrade:HigherGradeVo;

		public var higherGradeQueryParameter:HigherGradeQueryParameter;
		
		
		/**
		 * 获取运行时查询参数对象
		 */
		public function get runtimeQueryParameter():BaseQueryParameter
		{
			return higherGradeQueryParameter;
		}

		/**
		 * 设置运行时查询参数对象
		 */
		public function set runtimeQueryParameter(queryParameter:BaseQueryParameter):void
		{			
			higherGradeQueryParameter = queryParameter as HigherGradeQueryParameter;
		}
		
		/**
		 * 获取运行时实体对象
		 */
		public function get runtimeVo():BaseVo
		{
			return higherGrade;
		}

		/**
		 * 设置运行时实体对象
		 */
		public function set runtimeVo(vo:BaseVo):void
		{
			higherGrade = vo as HigherGradeVo;
		}
		
		/**
		 * 释放模型对象资源引用
		 */
		public function doDispose():void
		{
			higherGrade = null;
			higherGradeQueryParameter = null;
			dataList = null;
		}
	}
}
